import java.util.Scanner;

public class testclass
{
	public static void main(String[] arg)
	{
		Scanner eingabe = new Scanner(System.in);
		Bankaccount newBankUser = new Bankaccount ("team3197", "team3197", "Masteraccount");
		newBankUser.allUsers[0] = newBankUser;
		
		do{
			showBankMenu()
			int choice = eingabe.nextInt();
			switch (choice){
			case 1: createAccount();break;
			case 2: 
			case 3: BankEmployeeMenu();break;
			case 4: System.Exit(1);break;
			default: Syste.out.println("Wrong Command!)";
			}
		
		}while(choice != 4);
	}
	
	public void createAccount()
	{
		Scanner eingabe = new Scanner(System.in);
		
		System.out.println("Enter your Name!");
		String name = eingabe.next();
		System.out.println("Enter your Surname")
		String surname = eingabe.next();
		System.out.println("Your Login?");
		String login = eingabe.next();
		System.out.println("Your password?");
		String password = eingabe.next();
		System.out.println("Enter your Bank Account Numeber, you want to take");
		int bancAccountNr = eingabe.nextInt();
		// eingabe.next();
		int banccode = eingabe.nextInt()
		
		if(banccode != null)
		{
			
	}
	public void showBankMenu()
	{
		System.out.println("---------------National FOM-Bank---------------");
		System.out.println("#### - 1 - Create Account #####################");
		System.out.println("#### - 2 - Online Banking Login ###############");
		System.out.println("#### - 3 - Login as Bank employee #############");
		System.out.println("#### - 4 - Exit ###############################");
	}
	
	public void BankEmployeeMenu()
	{
		Scanner eingabe = new Scanner(System.in);
		System.out.println("Enter Password");
		if(checkPassword(eingabe.next()))
		{
			System.out.println("Please enter your Banc Code");
			System.out.println("---------------Employee FOM-Bank---------------");
			System.out.println("#### - 1 - Create Account #####################");
			System.out.println("#### - 2 - Delete Account #####################");
			System.out.println("#### - 3 - Do a Transfer  #####################");
			System.out.println("#### - 4 - Exit ###############################");
			int choice = eingabe.nextInt();
			
			switch (choice)
			{
				case 1: createAccount();break;
				case 2: deleteAccount();break;
				case 3: doTransfer();break;
				case 4: System.Exit(1);break;
				default: System.out.println("Sorry! Wrong Command!");
			}
		}
		else
			System.out.println("Wrong Password!");
	}
}